package ink.ykb.j2CacheDemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//@EnableCaching
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableTransactionManagement //order 默认为int最大值，这样事务aop最后执行，自定义aop优先执行
public class J2CacheDemoApplication {

	public static void main(String[] args) {
		
		SpringApplication.run(J2CacheDemoApplication.class, args);
	}
}
